API reference
cURL
curl --request POST \ --url https://www.ailabapi.com/api/cutout/general/food-background-removal \ --header 'Content-Type: multipart/form-data' \ --header 'ailabapi-api-key: <api-key>' \ --form image='@example-file' \ --form 'return_form=<string>'
{ "request_id": "", "log_id": "", "error_code": 0, "error_code_str": "", "error_msg": "", "error_detail": { "status_code": 200, "code": "", "code_message": "", "message": "" }, "data": { "image_url": "" } }
API Key for authentication
Specifies the form of the returned image.
mask
whiteBK
Success
The response is of type object.
object